home *** CD-ROM | disk | FTP | other *** search
/ Game.EXE 2004 July / My Disc.iso / patch / UT2004 / ut2004-winpatch3236.exe / UT2004-Patch / System / UnrealGame.u / Bot_RestingFormation_ScriptText.TextBuffer < prev    next >
Unknown  |  2004-06-11  |  2.8 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 6c 2c 63 6c 61 73 73 20 |........|l,class |
|00000010| 52 65 73 74 69 6e 67 46 | 6f 72 6d 61 74 69 6f 6e |RestingF|ormation|
|00000020| 20 65 78 74 65 6e 64 73 | 20 49 6e 66 6f 3b 0d 0a | extends| Info;..|
|00000030| 0d 0a 76 61 72 20 42 6f | 74 20 4f 63 63 75 70 61 |..var Bo|t Occupa|
|00000040| 6e 74 5b 31 36 5d 3b 0d | 0a 76 61 72 20 76 65 63 |nt[16];.|.var vec|
|00000050| 74 6f 72 20 4f 66 66 73 | 65 74 5b 31 36 5d 3b 0d |tor Offs|et[16];.|
|00000060| 0a 76 61 72 20 76 65 63 | 74 6f 72 20 4c 6f 6f 6b |.var vec|tor Look|
|00000070| 44 69 72 5b 31 36 5d 3b | 0d 0a 76 61 72 20 66 6c |Dir[16];|..var fl|
|00000080| 6f 61 74 20 46 6f 72 6d | 61 74 69 6f 6e 53 69 7a |oat Form|ationSiz|
|00000090| 65 3b 0d 0a 0d 0a 66 75 | 6e 63 74 69 6f 6e 20 4c |e;....fu|nction L|
|000000a0| 65 61 76 65 46 6f 72 6d | 61 74 69 6f 6e 28 42 6f |eaveForm|ation(Bo|
|000000b0| 74 20 42 29 0d 0a 7b 0d | 0a 09 69 66 20 28 20 4f |t B)..{.|..if ( O|
|000000c0| 63 63 75 70 61 6e 74 5b | 42 2e 46 6f 72 6d 61 74 |ccupant[|B.Format|
|000000d0| 69 6f 6e 50 6f 73 69 74 | 69 6f 6e 5d 20 3d 3d 20 |ionPosit|ion] == |
|000000e0| 42 20 29 0d 0a 09 09 4f | 63 63 75 70 61 6e 74 5b |B )....O|ccupant[|
|000000f0| 42 2e 46 6f 72 6d 61 74 | 69 6f 6e 50 6f 73 69 74 |B.Format|ionPosit|
|00000100| 69 6f 6e 5d 20 3d 20 4e | 6f 6e 65 3b 0d 0a 7d 0d |ion] = N|one;..}.|
|00000110| 0a 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 62 6f 6f 6c |...funct|ion bool|
|00000120| 20 53 65 74 46 6f 72 6d | 61 74 69 6f 6e 28 42 6f | SetForm|ation(Bo|
|00000130| 74 20 42 2c 20 49 6e 74 | 20 50 6f 73 2c 20 62 6f |t B, Int| Pos, bo|
|00000140| 6f 6c 20 62 46 75 6c 6c | 43 68 65 63 6b 29 0d 0a |ol bFull|Check)..|
|00000150| 7b 0d 0a 09 6c 6f 63 61 | 6c 20 76 65 63 74 6f 72 |{...loca|l vector|
|00000160| 20 48 69 74 4c 6f 63 61 | 74 69 6f 6e 2c 20 48 69 | HitLoca|tion, Hi|
|00000170| 74 4e 6f 72 6d 61 6c 3b | 0d 0a 09 6c 6f 63 61 6c |tNormal;|...local|
|00000180| 20 61 63 74 6f 72 20 48 | 69 74 41 63 74 6f 72 2c | actor H|itActor,|
|00000190| 20 43 65 6e 74 65 72 3b | 0d 0a 0d 0a 09 43 65 6e | Center;|.....Cen|
|000001a0| 74 65 72 20 3d 20 53 71 | 75 61 64 41 49 28 4f 77 |ter = Sq|uadAI(Ow|
|000001b0| 6e 65 72 29 2e 46 6f 72 | 6d 61 74 69 6f 6e 43 65 |ner).For|mationCe|
|000001c0| 6e 74 65 72 28 29 3b 0d | 0a 09 69 66 20 28 20 43 |nter();.|..if ( C|
|000001d0| 65 6e 74 65 72 20 3d 3d | 20 4e 6f 6e 65 20 29 0d |enter ==| None ).|
|000001e0| 0a 09 09 43 65 6e 74 65 | 72 20 3d 20 42 2e 50 61 |...Cente|r = B.Pa|
|000001f0| 77 6e 3b 0d 0a 09 69 66 | 20 28 20 28 4f 63 63 75 |wn;...if| ( (Occu|
|00000200| 70 61 6e 74 5b 50 6f 73 | 5d 20 3d 3d 20 4e 6f 6e |pant[Pos|] == Non|
|00000210| 65 29 0d 0a 09 09 7c 7c | 20 21 4f 63 63 75 70 61 |e)....||| !Occupa|
|00000220| 6e 74 5b 50 6f 73 5d 2e | 46 6f 72 6d 61 74 69 6f |nt[Pos].|Formatio|
|00000230| 6e 28 29 20 29 0d 0a 09 | 7b 0d 0a 09 09 69 66 20 |n() )...|{....if |
|00000240| 28 20 62 46 75 6c 6c 43 | 68 65 63 6b 20 29 0d 0a |( bFullC|heck )..|
|00000250| 09 09 7b 0d 0a 09 09 09 | 2f 2f 20 46 49 58 4d 45 |..{.....|// FIXME|
|00000260| 20 2d 20 63 68 65 63 6b | 20 69 66 20 76 61 6c 69 | - check| if vali|
|00000270| 64 20 70 6f 73 69 74 69 | 6f 6e 2c 20 77 69 74 68 |d positi|on, with|
|00000280| 20 74 72 61 63 65 73 0d | 0a 09 09 09 48 69 74 41 | traces.|....HitA|
|00000290| 63 74 6f 72 20 3d 20 54 | 72 61 63 65 28 48 69 74 |ctor = T|race(Hit|
|000002a0| 4c 6f 63 61 74 69 6f 6e | 2c 20 48 69 74 4e 6f 72 |Location|, HitNor|
|000002b0| 6d 61 6c 2c 43 65 6e 74 | 65 72 2e 4c 6f 63 61 74 |mal,Cent|er.Locat|
|000002c0| 69 6f 6e 2c 20 47 65 74 | 4c 6f 63 61 74 69 6f 6e |ion, Get|Location|
|000002d0| 46 6f 72 28 50 6f 73 2c | 42 29 2c 66 61 6c 73 65 |For(Pos,|B),false|
|000002e0| 29 3b 0d 0a 09 09 09 69 | 66 20 28 20 28 48 69 74 |);.....i|f ( (Hit|
|000002f0| 41 63 74 6f 72 20 21 3d | 20 4e 6f 6e 65 29 20 26 |Actor !=| None) &|
|00000300| 26 20 28 48 69 74 4e 6f | 72 6d 61 6c 2e 5a 20 3c |& (HitNo|rmal.Z <|
|00000310| 20 4d 49 4e 46 4c 4f 4f | 52 5a 29 20 29 0d 0a 09 | MINFLOO|RZ) )...|
|00000320| 09 09 09 72 65 74 75 72 | 6e 20 66 61 6c 73 65 3b |...retur|n false;|
|00000330| 0d 0a 09 09 7d 0d 0a 09 | 09 4c 65 61 76 65 46 6f |....}...|.LeaveFo|
|00000340| 72 6d 61 74 69 6f 6e 28 | 42 29 3b 0d 0a 09 09 4f |rmation(|B);....O|
|00000350| 63 63 75 70 61 6e 74 5b | 50 6f 73 5d 20 3d 20 42 |ccupant[|Pos] = B|
|00000360| 3b 0d 0a 09 09 72 65 74 | 75 72 6e 20 74 72 75 65 |;....ret|urn true|
|00000370| 3b 0d 0a 09 7d 0d 0a 7d | 0d 0a 0d 0a 66 75 6e 63 |;...}..}|....func|
|00000380| 74 69 6f 6e 20 69 6e 74 | 20 52 65 63 6f 6d 6d 65 |tion int| Recomme|
|00000390| 6e 64 50 6f 73 69 74 69 | 6f 6e 46 6f 72 28 42 6f |ndPositi|onFor(Bo|
|000003a0| 74 20 42 29 0d 0a 7b 0d | 0a 09 6c 6f 63 61 6c 20 |t B)..{.|..local |
|000003b0| 69 6e 74 20 69 3b 0d 0a | 09 0d 0a 09 69 20 3d 20 |int i;..|....i = |
|000003c0| 52 61 6e 64 28 31 35 29 | 3b 0d 0a 09 69 66 20 28 |Rand(15)|;...if (|
|000003d0| 20 53 65 74 46 6f 72 6d | 61 74 69 6f 6e 28 42 2c | SetForm|ation(B,|
|000003e0| 69 2c 74 72 75 65 29 20 | 29 0d 0a 09 09 72 65 74 |i,true) |)....ret|
|000003f0| 75 72 6e 20 69 3b 0d 0a | 09 66 6f 72 20 28 20 69 |urn i;..|.for ( i|
|00000400| 3d 30 3b 20 69 3c 31 36 | 3b 20 69 2b 2b 20 29 0d |=0; i<16|; i++ ).|
|00000410| 0a 09 09 69 66 20 28 20 | 53 65 74 46 6f 72 6d 61 |...if ( |SetForma|
|00000420| 74 69 6f 6e 28 42 2c 69 | 2c 74 72 75 65 29 20 29 |tion(B,i|,true) )|
|00000430| 0d 0a 09 09 09 72 65 74 | 75 72 6e 20 69 3b 0d 0a |.....ret|urn i;..|
|00000440| 09 66 6f 72 20 28 20 69 | 3d 30 3b 20 69 3c 31 36 |.for ( i|=0; i<16|
|00000450| 3b 20 69 2b 2b 20 29 0d | 0a 09 09 69 66 20 28 20 |; i++ ).|...if ( |
|00000460| 53 65 74 46 6f 72 6d 61 | 74 69 6f 6e 28 42 2c 69 |SetForma|tion(B,i|
|00000470| 2c 66 61 6c 73 65 29 20 | 29 0d 0a 09 09 09 72 65 |,false) |).....re|
|00000480| 74 75 72 6e 20 69 3b 0d | 0a 09 72 65 74 75 72 6e |turn i;.|..return|
|00000490| 20 52 61 6e 64 28 31 35 | 29 3b 0d 0a 7d 0d 0a 0d | Rand(15|);..}...|
|000004a0| 0a 66 75 6e 63 74 69 6f | 6e 20 76 65 63 74 6f 72 |.functio|n vector|
|000004b0| 20 47 65 74 4c 6f 63 61 | 74 69 6f 6e 46 6f 72 28 | GetLoca|tionFor(|
|000004c0| 69 6e 74 20 50 6f 73 2c | 20 42 6f 74 20 42 29 0d |int Pos,| Bot B).|
|000004d0| 0a 7b 0d 0a 09 6c 6f 63 | 61 6c 20 76 65 63 74 6f |.{...loc|al vecto|
|000004e0| 72 20 4c 6f 63 2c 58 2c | 59 2c 5a 3b 0d 0a 09 6c |r Loc,X,|Y,Z;...l|
|000004f0| 6f 63 61 6c 20 61 63 74 | 6f 72 20 43 65 6e 74 65 |ocal act|or Cente|
|00000500| 72 3b 0d 0a 0d 0a 09 43 | 65 6e 74 65 72 20 3d 20 |r;.....C|enter = |
|00000510| 53 71 75 61 64 41 49 28 | 4f 77 6e 65 72 29 2e 46 |SquadAI(|Owner).F|
|00000520| 6f 72 6d 61 74 69 6f 6e | 43 65 6e 74 65 72 28 29 |ormation|Center()|
|00000530| 3b 0d 0a 09 69 66 20 28 | 20 43 65 6e 74 65 72 20 |;...if (| Center |
|00000540| 3d 3d 20 4e 6f 6e 65 20 | 29 0d 0a 09 09 43 65 6e |== None |)....Cen|
|00000550| 74 65 72 20 3d 20 42 2e | 50 61 77 6e 3b 0d 0a 0d |ter = B.|Pawn;...|
|00000560| 0a 09 47 65 74 41 78 65 | 73 28 53 71 75 61 64 41 |..GetAxe|s(SquadA|
|00000570| 49 28 4f 77 6e 65 72 29 | 2e 47 65 74 46 61 63 69 |I(Owner)|.GetFaci|
|00000580| 6e 67 52 6f 74 61 74 69 | 6f 6e 28 29 2c 58 2c 59 |ngRotati|on(),X,Y|
|00000590| 2c 5a 29 3b 0d 0a 09 4c | 6f 63 20 3d 20 43 65 6e |,Z);...L|oc = Cen|
|000005a0| 74 65 72 2e 4c 6f 63 61 | 74 69 6f 6e 20 2b 20 4f |ter.Loca|tion + O|
|000005b0| 66 66 73 65 74 5b 50 6f | 73 5d 2e 58 20 2a 20 58 |ffset[Po|s].X * X|
|000005c0| 20 2b 20 4f 66 66 73 65 | 74 5b 50 6f 73 5d 2e 59 | + Offse|t[Pos].Y|
|000005d0| 20 2a 20 59 3b 0d 0a 09 | 2f 2f 20 46 49 58 4d 45 | * Y;...|// FIXME|
|000005e0| 20 61 64 6a 75 73 74 20 | 62 61 73 65 64 20 6f 6e | adjust |based on|
|000005f0| 20 74 72 61 63 65 73 2c | 20 74 72 79 20 74 6f 20 | traces,| try to |
|00000600| 6d 61 6b 65 20 61 20 6c | 65 67 61 6c 20 64 65 73 |make a l|egal des|
|00000610| 74 69 6e 61 74 69 6f 6e | 0d 0a 09 72 65 74 75 72 |tination|...retur|
|00000620| 6e 20 4c 6f 63 3b 0d 0a | 7d 0d 0a 0d 0a 66 75 6e |n Loc;..|}....fun|
|00000630| 63 74 69 6f 6e 20 76 65 | 63 74 6f 72 20 47 65 74 |ction ve|ctor Get|
|00000640| 56 69 65 77 50 6f 69 6e | 74 46 6f 72 28 42 6f 74 |ViewPoin|tFor(Bot|
|00000650| 20 42 2c 69 6e 74 20 50 | 6f 73 29 0d 0a 7b 0d 0a | B,int P|os)..{..|
|00000660| 09 6c 6f 63 61 6c 20 76 | 65 63 74 6f 72 20 56 69 |.local v|ector Vi|
|00000670| 65 77 50 6f 69 6e 74 3b | 0d 0a 09 6c 6f 63 61 6c |ewPoint;|...local|
|00000680| 20 61 63 74 6f 72 20 43 | 65 6e 74 65 72 3b 0d 0a | actor C|enter;..|
|00000690| 09 6c 6f 63 61 6c 20 69 | 6e 74 20 69 3b 0d 0a 09 |.local i|nt i;...|
|000006a0| 6c 6f 63 61 6c 20 61 63 | 74 6f 72 20 42 65 73 74 |local ac|tor Best|
|000006b0| 3b 0d 0a 09 0d 0a 09 69 | 66 20 28 20 42 2e 50 61 |;......i|f ( B.Pa|
|000006c0| 77 6e 2e 41 6e 63 68 6f | 72 20 21 3d 20 4e 6f 6e |wn.Ancho|r != Non|
|000006d0| 65 20 29 0d 0a 09 7b 0d | 0a 09 09 46 6f 72 20 28 |e )...{.|...For (|
|000006e0| 20 69 3d 30 3b 20 69 3c | 42 2e 50 61 77 6e 2e 41 | i=0; i<|B.Pawn.A|
|000006f0| 6e 63 68 6f 72 2e 50 61 | 74 68 4c 69 73 74 2e 4c |nchor.Pa|thList.L|
|00000700| 65 6e 67 74 68 3b 20 69 | 2b 2b 20 29 0d 0a 09 09 |ength; i|++ )....|
|00000710| 7b 0d 0a 09 09 09 69 66 | 20 28 20 28 42 2e 50 61 |{.....if| ( (B.Pa|
|00000720| 77 6e 2e 41 6e 63 68 6f | 72 2e 50 61 74 68 4c 69 |wn.Ancho|r.PathLi|
|00000730| 73 74 5b 69 5d 20 21 3d | 20 4e 6f 6e 65 29 20 26 |st[i] !=| None) &|
|00000740| 26 20 28 56 53 69 7a 65 | 28 42 2e 50 61 77 6e 2e |& (VSize|(B.Pawn.|
|00000750| 4c 6f 63 61 74 69 6f 6e | 20 2d 20 42 2e 50 61 77 |Location| - B.Paw|
|00000760| 6e 2e 41 6e 63 68 6f 72 | 2e 50 61 74 68 4c 69 73 |n.Anchor|.PathLis|
|00000770| 74 5b 69 5d 2e 45 6e 64 | 2e 4c 6f 63 61 74 69 6f |t[i].End|.Locatio|
|00000780| 6e 29 20 3e 20 34 30 30 | 29 0d 0a 09 09 09 09 26 |n) > 400|)......&|
|00000790| 26 20 28 46 52 61 6e 64 | 28 29 20 3e 20 30 2e 33 |& (FRand|() > 0.3|
|000007a0| 29 20 26 26 20 28 56 53 | 69 7a 65 28 42 2e 46 6f |) && (VS|ize(B.Fo|
|000007b0| 63 61 6c 50 6f 69 6e 74 | 20 2d 20 20 42 2e 50 61 |calPoint| - B.Pa|
|000007c0| 77 6e 2e 41 6e 63 68 6f | 72 2e 50 61 74 68 4c 69 |wn.Ancho|r.PathLi|
|000007d0| 73 74 5b 69 5d 2e 45 6e | 64 2e 4c 6f 63 61 74 69 |st[i].En|d.Locati|
|000007e0| 6f 6e 29 20 3e 20 31 30 | 30 29 0d 0a 09 09 09 09 |on) > 10|0)......|
|000007f0| 26 26 20 46 61 73 74 54 | 72 61 63 65 28 42 2e 50 |&& FastT|race(B.P|
|00000800| 61 77 6e 2e 4c 6f 63 61 | 74 69 6f 6e 2c 20 42 2e |awn.Loca|tion, B.|
|00000810| 50 61 77 6e 2e 41 6e 63 | 68 6f 72 2e 50 61 74 68 |Pawn.Anc|hor.Path|
|00000820| 4c 69 73 74 5b 69 5d 2e | 45 6e 64 2e 4c 6f 63 61 |List[i].|End.Loca|
|00000830| 74 69 6f 6e 29 20 29 0d | 0a 09 09 09 09 42 65 73 |tion) ).|.....Bes|
|00000840| 74 20 3d 20 42 2e 50 61 | 77 6e 2e 41 6e 63 68 6f |t = B.Pa|wn.Ancho|
|00000850| 72 2e 50 61 74 68 4c 69 | 73 74 5b 69 5d 2e 45 6e |r.PathLi|st[i].En|
|00000860| 64 3b 0d 0a 09 09 7d 0d | 0a 09 7d 0d 0a 09 0d 0a |d;....}.|..}.....|
|00000870| 09 69 66 20 28 20 42 65 | 73 74 20 21 3d 20 4e 6f |.if ( Be|st != No|
|00000880| 6e 65 20 29 0d 0a 09 09 | 72 65 74 75 72 6e 20 28 |ne )....|return (|
|00000890| 42 65 73 74 2e 4c 6f 63 | 61 74 69 6f 6e 20 2b 20 |Best.Loc|ation + |
|000008a0| 30 2e 35 20 2a 20 42 2e | 50 61 77 6e 2e 43 6f 6c |0.5 * B.|Pawn.Col|
|000008b0| 6c 69 73 69 6f 6e 48 65 | 69 67 68 74 20 2a 20 76 |lisionHe|ight * v|
|000008c0| 65 63 74 28 30 2c 30 2c | 31 29 29 3b 0d 0a 09 0d |ect(0,0,|1));....|
|000008d0| 0a 09 69 66 20 28 20 42 | 2e 50 61 77 6e 2e 62 53 |..if ( B|.Pawn.bS|
|000008e0| 74 61 74 69 6f 6e 61 72 | 79 20 7c 7c 20 28 56 65 |tationar|y || (Ve|
|000008f0| 68 69 63 6c 65 28 42 2e | 50 61 77 6e 29 20 21 3d |hicle(B.|Pawn) !=|
|00000900| 20 4e 6f 6e 65 29 20 29 | 0d 0a 09 7b 0d 0a 09 09 | None) )|...{....|
|00000910| 56 69 65 77 50 6f 69 6e | 74 20 3d 20 28 42 2e 50 |ViewPoin|t = (B.P|
|00000920| 61 77 6e 2e 4c 6f 63 61 | 74 69 6f 6e 20 2b 20 32 |awn.Loca|tion + 2|
|00000930| 30 30 30 20 2a 20 56 52 | 61 6e 64 28 29 29 3b 0d |000 * VR|and());.|
|00000940| 0a 09 09 56 69 65 77 50 | 6f 69 6e 74 2e 5a 20 3d |...ViewP|oint.Z =|
|00000950| 20 42 2e 50 61 77 6e 2e | 4c 6f 63 61 74 69 6f 6e | B.Pawn.|Location|
|00000960| 2e 5a 3b 0d 0a 09 09 69 | 66 20 28 20 28 28 56 69 |.Z;....i|f ( ((Vi|
|00000970| 65 77 50 6f 69 6e 74 20 | 2d 20 42 2e 50 61 77 6e |ewPoint |- B.Pawn|
|00000980| 2e 4c 6f 63 61 74 69 6f | 6e 29 20 44 6f 74 20 28 |.Locatio|n) Dot (|
|00000990| 42 2e 46 6f 63 61 6c 50 | 6f 69 6e 74 20 2d 20 42 |B.FocalP|oint - B|
|000009a0| 2e 50 61 77 6e 2e 4c 6f | 63 61 74 69 6f 6e 29 29 |.Pawn.Lo|cation))|
|000009b0| 20 3e 20 30 20 29 0d 0a | 09 09 09 56 69 65 77 50 | > 0 )..|...ViewP|
|000009c0| 6f 69 6e 74 20 3d 20 32 | 20 2a 20 42 2e 50 61 77 |oint = 2| * B.Paw|
|000009d0| 6e 2e 4c 6f 63 61 74 69 | 6f 6e 20 2d 20 56 69 65 |n.Locati|on - Vie|
|000009e0| 77 50 6f 69 6e 74 3b 0d | 0a 09 09 69 66 20 28 20 |wPoint;.|...if ( |
|000009f0| 21 46 61 73 74 54 72 61 | 63 65 28 56 69 65 77 50 |!FastTra|ce(ViewP|
|00000a00| 6f 69 6e 74 2c 20 42 2e | 50 61 77 6e 2e 4c 6f 63 |oint, B.|Pawn.Loc|
|00000a10| 61 74 69 6f 6e 29 20 29 | 0d 0a 09 09 09 56 69 65 |ation) )|.....Vie|
|00000a20| 77 50 6f 69 6e 74 20 3d | 20 42 2e 46 6f 63 61 6c |wPoint =| B.Focal|
|00000a30| 50 6f 69 6e 74 3b 0d 0a | 09 7d 0d 0a 09 65 6c 73 |Point;..|.}...els|
|00000a40| 65 0d 0a 09 7b 0d 0a 09 | 09 43 65 6e 74 65 72 20 |e...{...|.Center |
|00000a50| 3d 20 53 71 75 61 64 41 | 49 28 4f 77 6e 65 72 29 |= SquadA|I(Owner)|
|00000a60| 2e 46 6f 72 6d 61 74 69 | 6f 6e 43 65 6e 74 65 72 |.Formati|onCenter|
|00000a70| 28 29 3b 0d 0a 09 09 69 | 66 20 28 20 43 65 6e 74 |();....i|f ( Cent|
|00000a80| 65 72 20 3d 3d 20 4e 6f | 6e 65 20 29 0d 0a 09 09 |er == No|ne )....|
|00000a90| 09 72 65 74 75 72 6e 20 | 28 42 2e 50 61 77 6e 2e |.return |(B.Pawn.|
|00000aa0| 4c 6f 63 61 74 69 6f 6e | 20 2b 20 32 30 30 2a 56 |Location| + 200*V|
|00000ab0| 52 61 6e 64 28 29 29 3b | 0d 0a 0d 0a 09 09 56 69 |Rand());|......Vi|
|00000ac0| 65 77 50 6f 69 6e 74 20 | 3d 20 32 20 2a 20 42 2e |ewPoint |= 2 * B.|
|00000ad0| 50 61 77 6e 2e 4c 6f 63 | 61 74 69 6f 6e 20 2d 20 |Pawn.Loc|ation - |
|00000ae0| 43 65 6e 74 65 72 2e 4c | 6f 63 61 74 69 6f 6e 3b |Center.L|ocation;|
|00000af0| 0d 0a 09 09 56 69 65 77 | 50 6f 69 6e 74 2e 5a 20 |....View|Point.Z |
|00000b00| 3d 20 42 2e 50 61 77 6e | 2e 4c 6f 63 61 74 69 6f |= B.Pawn|.Locatio|
|00000b10| 6e 2e 5a 3b 0d 0a 09 7d | 0d 0a 0d 0a 09 72 65 74 |n.Z;...}|.....ret|
|00000b20| 75 72 6e 20 56 69 65 77 | 50 6f 69 6e 74 3b 0d 0a |urn View|Point;..|
|00000b30| 7d 0d 0a 0d 0a 00 | |}..... | |
+--------+-------------------------+-------------------------+--------+--------+